package com.ajieee.merge.entity.finance.po;

import com.ajieee.merge.enums.finance.EtlType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.EnumTypeHandler;

import java.time.LocalDate;

/**
 * @author ajieee
 * @date 2025-10-26
 */
@Data
@TableName("t_fin_etl_manager")
public class EtlManagerPO {

	@TableId
	private Long id;

//	@TableField(typeHandler = EnumTypeHandler.class)
	private EtlType etlType;

	private Integer executeCnt;

	private Long duration;

	private LocalDate dataDate;

	/**
	 * 1：成功 0：失败
	 */
	private Integer result;

	private String detail;

}
